import React from 'react';
import { useLocation } from 'react-router-dom';
const CouresView = (props) => {
  // console.log(props)
  const location = useLocation();
  console.log(location)
  // {
  //   "pathname": "/coures",
  //   "search": "?sort=%27%E8%AF%AD%E6%96%87%27",
  //   "hash": "",
  //   "key": "av7jf6",
  //   "state":undefined
  // }
  return (
    <div>
      <h1>Coures View</h1>
    </div>
  );
}

export default CouresView;
